package cn.com.demo.tp31;

import com.codingapi.txlcn.tc.config.EnableDistributedTransaction;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@MapperScan(basePackages = "cn.com.demo.tp31.mapper")
@SpringBootApplication
@EnableDistributedTransaction
@EnableDiscoveryClient
@EnableTransactionManagement
@RefreshScope
public class Start31 {
    public static void main(String[] args) {
        SpringApplication.run(Start31.class,args);
    }
}
